<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="${pageContext.request.contextPath}/">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
	.error{
		color:red;
	}
</style>
</head>
<body>
<form action="login" method="post">
	<label>用户名：<input name="username"></label>
	<label>密&emsp;码：<input name="password" type="password"></label>
	<input type="submit" value="登录"><small class="error">${error}</small>
</form>
</body>
</html>